/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package com.rie06.openvoip.server;

import java.io.Serializable;
import java.util.UUID;

/**
 *
 * @author clement
 */
public class ServerMessage_Voice extends ServerMessage implements Serializable {
    
    private UUID conversationUUID;
    private byte[] payload;
    private int id;
    
    public ServerMessage_Voice(String type, UUID conversationUUID, byte[] payload, int id, UUID from){
        super(type, null, from);
        this.payload = payload;
        this.id = id;
        this.conversationUUID = conversationUUID;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public byte[] getPayload() {
        return payload;
    }

    public void setPayload(byte[] payload) {
        this.payload = payload;
    }

    public UUID getConversationUUID() {
        return conversationUUID;
    }
    
}
